<template>
    <div>
        订单详情
    </div>
</template>

<script>
import { getOrderDetailReq } from '@/api/order'

export default {
    data() {
        return {
            id: '',
        }
    },
    methods: {
        async getdetail() {
            this.id = this.$route.query.id
            console.log(this.id);
            let res = await getOrderDetailReq({ id:this.id })
            let {data}=res.data
            console.log(data);
        }

    },
    created() {
        this.getdetail()
        //    console.log(this.id);
    }

}
</script>

<style lang="scss" scoped>

</style>